<template lang="html">
  <div class="day-trade">
    <query-modal
      :show-query-modal.sync="showQueryModal"
      :params.sync="params"
      :statement-type="'portfolioProfile'"
      ></query-modal>

    <table class="table table-bordered table-hover">
      <caption>组合更新数据统计</caption>
      <thead>
        <tr>
          <th class="col-xs-1">日期</th>
          <th class="col-xs-1">类型</th>
          <th class="col-xs-1">市场</th>
          <th class="col-xs-1">累计发布组合个数</th>
          <th class="col-xs-1">累计发布组合人数</th>
        </tr>
      </thead>
      <tbody>
        <tr v-for="item in list">
          <td class="col-sm-1">
            {{item.period}}
          </td>
          <td class="col-sm-1">
            {{item.type | filterCreatorType}}
          </td>
          <td class="col-sm-1">
            {{item.market === 0 ? 'A股' : '港股'}}
          </td>
          <td class="col-sm-1">
            {{item.betaCount}}
          </td>
          <td class="col-sm-1">
            {{item.betaPublisherCount}}
          </td>
        </tr>
      </tbody>
    </table>
  </div>
</template>

<script src="./portfolio-profile.js"></script>
<style src="./portfolio-profile.css" scoped></style>
